sound_pool object
This method will destroy all of the sounds in the sound pool.
void destroy_all()
Parameters:
None.
Return value:
None.
Remarks:
This is useful if you want to return to the main menu, or reset to another level, etc.
Example:
#include "sound_pool.bgt"
sound_pool sounds;
void main()
{
sounds.max_distance=70;
sounds.play_stationary("sounds/ambience.wav", true);
wait(5000);
sounds.destroy_all();
exit();
}